Esophageal or urinary bladder temperature measurement